package com.liang.study.design.constant;

/**
 * @author lsm
 * @ClassName compareEnum.java
 * @Description TODO
 * @createTime 2023年12月21日 09:46:00
 */
public enum CompareEnum {

    EQUAL(1,"等于"),
    GREATER_THAN(2,"大于"),
    LESS_THAN(3,"小于"),
    BE_EQUAL_OR_GREATER_THAN(4,"大于等于"),
    BE_EQUAL_OR_LESS_THAN(5,"小于等于");

    private int code;

    private String msg;

    CompareEnum(int code,String msg){
        this.code = code;
        this.msg = msg;
    }
}
